package zhieasy.cn.persistence.mapper.common;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import zhieasy.cn.model.common.Role;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 通过OpenId查询用户的角色
     * @param openId
     * @return
     */
    List<Role> selectWechatUserRoleListByOpenId(String openId);
}
